
type ItemType = 'input' | 'password' | 'select' | 'datepicker'

export interface IFormItem {
  field: string,
  type: ItemType,
  label: string,
  rules?: any[],
  placeholder?: string
  isHidden?: boolean
  // select 的配置
  options?: any[],
  // 其他的配置
  otherOption?: any,
}

export interface Iform {
  formItems: IFormItem[],
  labelWidth?: string,
  itemStyle?: any,
  colLayout?: any
}